package com.ies.dx.util;

import java.io.EOFException;


public interface Input
{
    public int getCursor();
    public void moveCursorTo(int pos);
    public void assertCursor(int expectedCursor); 
    public byte readByte()throws EOFException;
    public int readUnsignedByte()throws EOFException;
    public short readShort()throws EOFException;
    public int readUnsignedShort() throws EOFException;
    public int readInt()throws EOFException;
    public long writeLong()throws EOFException;
    public int readULeb128()throws EOFException;
    public int readSLeb128()throws EOFException;
    public int read(byte[] bytes, int offset, int length);
    public int read(byte[] bytes);
    public int skipBytes(int n);
}
